//  页面路径：store/index.js
import Vue from 'vue'
import Vuex from 'vuex'

import cart from '@/store/modules/cart'
import user from '@/store/modules/user'

Vue.use(Vuex)
export default new Vuex.Store({
    modules: {
        cart,
        user
    }
})